// pages/scan_qr_suc/scan_qr_suc.js
var app = getApp()
Page({
  data: {
    title:'',
    content:''
  },
  onLoad: function (options) {

    console.log(options);
    if(options.code == 1)
    {
      this.setData({
        title:options.msg,
        content:'请办理会员卡'
      })      
    }
    if (options.code == 2) {
      this.setData({
        title: options.msg,
        content: '请续费会员卡'
      })
    }
    if (options.code == 3) {
      this.setData({
        title: options.msg,
        content: ''
      })
    }    

  },


})